﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Practices.EnterpriseLibrary.Data;

namespace ManagerServices.Entity
{
    public class UserEntity
    {
        private string _mail ;
        private string _password;
        private DateTime _datecreate;
        private DateTime _dateupdate;
        private Int32 _idprofile;

        public string MAIL 
        { 
            get
            {
                return _mail;
            }  
            set
            {
                _mail = value;
            }
        }
        public string PASSWORD
        {
            get
            {
                return _password;
            }
            set
            {
                this._password = value;
            }
        }
        public DateTime DATECREATE
        {
            get
            {
                return _datecreate;

            }
            set
            {
                this._datecreate = value;
            }
            
        }
        public DateTime DATEUPDATE
        {
            get
            {
                return _dateupdate;
            }
            set
            {
                this._dateupdate = value;
            }
        }
        public Int32 ID_PROFILE
        {
            get
            {
                return _idprofile;
            }
            set
            {
                this._idprofile = value;
            }
           
        }

        public override string ToString()
        {

            return String.Format("{0}, {1}, {2},{3},{4}", _mail, _password, _datecreate, _dateupdate, _idprofile);

        }
    }
}